package com.fanshilz.flower2025.business.sys.sysUser.entity;

import com.mybatisflex.annotation.EnumValue;
import io.github.linpeilie.annotations.AutoEnumMapper;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
@AutoEnumMapper("value")
public enum UserStatusEnum {

    // 存单状态 0正常 1失效
    OK(0, "正常"),
    INVALID(1, "失效"),

    ;

    @EnumValue
    private final Integer value;
    private final String lable;

}
